import ViewImg from '@/components/ViewImg'
const common = {
	components: {
		ViewImg,
	},
	data() {
		return {
			imgSrc: '',
			showImg: false,
		}
	},
	mounted() {

	},
	methods: {
		viewImage(imageUrl) {
			console.log(this)
			this.imgSrc = imageUrl
			this.showImg = true
		},
		closeImg() {
			this.showImg = false
		},
		playVideo(videoUrl) {
			open(videoUrl)
		},
		back() {
			this.$router.go(-1)
		},
	}
}
export default common